package edu.sctu.practice.class02.hujie.cgs.practice02.test22;

/**
 * Created by user14 on 2015/11/9.
 */
public abstract class Door {
    private double weight;
    protected double width;
    double length;
    public double height;

    public Door() {
        weight = 1.0;
        width = 2.0;
        length = 3.0;
        height = 4.0;
    }

    public Door(double weight, double width, double length, double height) {
        this.weight = weight;
        this.width = width;
        this.length = length;
        this.height = height;
    }



    public abstract void openDoor(String d);

    public abstract void closeDoor();
}
